package com.zhida.smartcontrol.dialog.classifydialog;

import com.zhida.smartcontrol.mvp.BasePresenterImpl;
import com.zhida.smartcontrol.common.bean.DeviceClassifyBean;

import java.util.ArrayList;
import java.util.List;

public class ClassifyDialogPresenter extends BasePresenterImpl<ClassifyDialogContract.View> implements ClassifyDialogContract.Presenter{

    @Override
    public void buildClassify() {
        List<DeviceClassifyBean> beanList = new ArrayList<>();

        beanList.add(new DeviceClassifyBean("0", "智能控制器"));
        beanList.add(new DeviceClassifyBean("1", "智能开关"));
        beanList.add(new DeviceClassifyBean("2", "电缆防盗报警器"));
        beanList.add(new DeviceClassifyBean("3", "NB 单灯控制器"));
        beanList.add(new DeviceClassifyBean("4", "PLC 单灯控制器"));
        beanList.add(new DeviceClassifyBean("5", "智能控制器(PLC)"));
        beanList.add(new DeviceClassifyBean("6", "NB 双灯控制器"));
        beanList.add(new DeviceClassifyBean("7", "ZigBee 单灯控制器"));
        beanList.add(new DeviceClassifyBean("9", "4G 智能控制器"));

        mView.showData(beanList);
    }
}
